import pyautogui

# 屏幕大小
screen_size = pyautogui.size()
print(screen_size)

# 某个坐标是否在当前屏幕中
print(pyautogui.onScreen(100, 100))

# 获取鼠标当前位置
# while True:
#     mouse_postion = pyautogui.position()
#     print(mouse_postion)

pyautogui.moveTo(0, 0)
pyautogui.moveTo(1440, 900)